#include "stair_ctrl/sim_wireless_remote.hpp"


int main(int argc, char **argv)
{
    ros::init(argc, argv, "sim_wireless_remote");
    ros::NodeHandle nh("~");

    std::string sim_state_topic, fake_joy_stick_topic, low_state_topic;
    nh.param<std::string>("low_state_topic", low_state_topic, "low_state");
    nh.param<std::string>("sim_state_topic", sim_state_topic, "/go1_gazebo/lowState/state");
    nh.param<std::string>("fake_joy_stick_topic", fake_joy_stick_topic, "/keyboard_ctrl/fake_joystick");

    simWirelessRemote sim_wireless_remote = simWirelessRemote(&nh, sim_state_topic, fake_joy_stick_topic, low_state_topic);
    sim_wireless_remote.start();
}